package com.aisile.admin;

import com.aisile.model.admin.dtos.ChannelDto;
import com.aisile.model.admin.pojos.AdChannel;
import com.aisile.model.common.dtos.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

import java.util.List;

@Api(value = "频道管理",tags = "AdChannelControllerApi",description = "频道管理Api文档")
public interface AdChannelControllerApi {

    @ApiOperation("分页条件查询")
    //分页查询
    public ResponseResult findByPage(ChannelDto dto);

    @ApiOperation("添加频道")
    //添加
    public ResponseResult saveAdchannel(AdChannel adChannel);

    @ApiOperation("修改频道")
    //修改
    public ResponseResult updateAdchannel(AdChannel adChannel);

    @ApiOperation("批量删除频道")
    //批量删除
    public ResponseResult delsAdchannel(List<Integer> ids);
}
